package com.jbookstore.dto;

import java.util.Date;
import java.util.List;

public class OrderDto {
	
	private String order_id;
	private String user_id;
	private Date order_date;
	private String code_id;
	private String codegroup_id;
	private String name;
	private String address;
	private String phone_num;
	private List<OrderDetailDto> orders;
	public String getOrder_id() {
		return order_id;
	}
	public void setOrder_id(String order_id) {
		this.order_id = order_id;
	}
	public String getUser_id() {
		return user_id;
	}
	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}
	public Date getOrder_date() {
		return order_date;
	}
	public void setOrder_date(Date order_date) {
		this.order_date = order_date;
	}
	public String getCode_id() {
		return code_id;
	}
	public void setCode_id(String code_id) {
		this.code_id = code_id;
	}
	public String getCodegroup_id() {
		return codegroup_id;
	}
	public void setCodegroup_id(String codegroup_id) {
		this.codegroup_id = codegroup_id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getPhone_num() {
		return phone_num;
	}
	public void setPhone_num(String phone_num) {
		this.phone_num = phone_num;
	}
	public List<OrderDetailDto> getOrders() {
		return orders;
	}
	public void setOrders(List<OrderDetailDto> orders) {
		this.orders = orders;
	}
	@Override
	public String toString() {
		return "OrderDto [order_id=" + order_id + ", user_id=" + user_id
				+ ", order_date=" + order_date + ", code_id=" + code_id
				+ ", codegroup_id=" + codegroup_id + ", name=" + name
				+ ", address=" + address + ", phone_num=" + phone_num
				+ ", orders=" + orders + "]";
	}
}
